; ModuleID = 't.c'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"

define void @foo() nounwind {
entry:
  %X = alloca i32, align 4                        ; <i32*> [#uses=3]
  %Y = alloca i32, align 4                        ; <i32*> [#uses=2]
  %Z = alloca i32, align 4                        ; <i32*> [#uses=2]
  call void @llvm.dbg.declare(metadata !{i32* %X}, metadata !0), !dbg !8
  store i32 21, i32* %X, !dbg !9
  call void @llvm.dbg.declare(metadata !{i32* %Y}, metadata !10), !dbg !11
  store i32 22, i32* %Y, !dbg !12
  call void @llvm.dbg.declare(metadata !{i32* %Z}, metadata !13), !dbg !15
  store i32 23, i32* %Z, !dbg !16
  %tmp = load i32* %X, !dbg !17                   ; <i32> [#uses=1]
  store i32 %tmp, i32* %Z, !dbg !17
  %tmp1 = load i32* %Y, !dbg !18                  ; <i32> [#uses=1]
  store i32 %tmp1, i32* %X, !dbg !18
  ret void, !dbg !19
}

declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone

!0 = metadata !{i32 524544, metadata !1, metadata !"X", metadata !3, i32 2, metadata !7} ; [ DW_TAG_auto_variable ]
!1 = metadata !{i32 524299, metadata !2, i32 1, i32 14} ; [ DW_TAG_lexical_block ]
!2 = metadata !{i32 524334, i32 0, metadata !3, metadata !"foo", metadata !"foo", metadata !"foo", metadata !3, i32 1, metadata !5, i1 false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ DW_TAG_subprogram ]
!3 = metadata !{i32 524329, metadata !"t.c", metadata !"/home/user/software/mpi_program/mine", metadata !4} ; [ DW_TAG_file_type ]
!4 = metadata !{i32 524305, i32 0, i32 12, metadata !"t.c", metadata !".", metadata !"clang 2.0", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ]
!5 = metadata !{i32 524309, metadata !3, metadata !"", metadata !3, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !6, i32 0, null} ; [ DW_TAG_subroutine_type ]
!6 = metadata !{null}
!7 = metadata !{i32 524324, metadata !3, metadata !"int", metadata !3, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]
!8 = metadata !{i32 2, i32 9, metadata !1, null}
!9 = metadata !{i32 2, i32 15, metadata !1, null}
!10 = metadata !{i32 524544, metadata !1, metadata !"Y", metadata !3, i32 3, metadata !7} ; [ DW_TAG_auto_variable ]
!11 = metadata !{i32 3, i32 9, metadata !1, null}
!12 = metadata !{i32 3, i32 15, metadata !1, null}
!13 = metadata !{i32 524544, metadata !14, metadata !"Z", metadata !3, i32 5, metadata !7} ; [ DW_TAG_auto_variable ]
!14 = metadata !{i32 524299, metadata !1, i32 4, i32 5} ; [ DW_TAG_lexical_block ]
!15 = metadata !{i32 5, i32 11, metadata !14, null}
!16 = metadata !{i32 5, i32 17, metadata !14, null}
!17 = metadata !{i32 6, i32 7, metadata !14, null}
!18 = metadata !{i32 8, i32 5, metadata !1, null}
!19 = metadata !{i32 9, i32 3, metadata !1, null}
